package com.github.avatar.config.dubbo;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author Stephen Liu
 * @since 2017/4/19
 */
@ConfigurationProperties(prefix = "dubbo")
public class DubboConfig {

    private String address;
    private String registryProtocol;
    private String monitorProtocol;
    private String serviceName;

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getRegistryProtocol() {
        return registryProtocol;
    }

    public void setRegistryProtocol(String registryProtocol) {
        this.registryProtocol = registryProtocol;
    }

    public String getMonitorProtocol() {
        return monitorProtocol;
    }

    public void setMonitorProtocol(String monitorProtocol) {
        this.monitorProtocol = monitorProtocol;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

}
